Systems, methods, and media for generating sanitized data, sanitizing anomaly detection models, and/or generating sanitized anomaly detection models

ABSTRACT

Systems, methods, and media for generating sanitized data, sanitizing anomaly detection models, and generating anomaly detection models are provided. In some embodiments, methods for sanitizing anomaly detection models are provided. The methods including: receiving at least one abnormal anomaly detection model from at least one remote location; comparing at least one of the at least one abnormal anomaly detection model to a local normal detection model to produce a common set of features common to both the at least one abnormal anomaly detection model and the local normal detection model; and generating a sanitized normal anomaly detection model by removing the common set of features from the local normal detection model.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a divisional of U.S. patent application Ser. No. 11/940,790, filed Nov. 15, 2007, which claims the benefit of U.S. Provisional Patent Application No. 60/859,040, filed Nov. 15, 2006, and U.S. Provisional Patent Application No. 60/987,135, filed Nov. 12, 2007, each of which is hereby incorporated by reference herein in its entirety.

STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT

This invention was made with government support under Grant No. DAFAFRLFA8750060221 awarded by the Disruptive Technology Office. The government has certain rights in the invention.

TECHNICAL FIELD

The disclosed subject matter relates to systems, methods, and media for generating sanitized data, sanitizing anomaly detection models, and generating anomaly detection models.

BACKGROUND

Models of data can be used to show characteristics of that data. For example, network data traffic models can be used to show unique characteristics of specific network data traffic. Network data traffic models can be used for detecting network data traffic content anomalies, such as malicious code. This is because the characteristics of normal data traffic differ from the characteristics of data traffic harboring malicious code, such as viruses, worms. Trojan horses, spyware, and/or other data that can cause harmful effects. Anomaly-based systems can be used to generate anomaly detection models and/or use anomaly detection models to monitor and detect anomalous code in, for example, network traffic, instruction streams, and/or streams of function calls, etc.

Anomaly-based systems can be used to detect abnormal inputs and/or behavior without relying on, for example, a static set of signatures or a potentially incomplete behavioral specification. The efficacy of anomaly detection sensors can depend, however, on the quality of the data used to train them. Artificial or contrived training datasets may not provide a realistic. view of the deployment environment. On the other hand, real world datasets may be dirty, for example, they may contain a number of attacks or abnormal events. However, the size of training data sets can make manual removal or label ma of anomalies difficult and/or impractical. As a result, sensors trained on such data may, for example, miss some attacks and their variations.

SUMMARY

Systems, methods, and media for generating sanitized data, sanitizing anomaly detection models, and generating anomaly detection models are provided. In some embodiments, methods for generating sanitized data are provided. The methods including: dividing a first training dataset comprised of a plurality of training data items into a plurality of data subsets each including at least one training data item of the plurality of training data items of the first training dataset; based on the plurality of data subsets, generating a plurality of distinct anomaly detection micro-models; testing at least one data item of the plurality of data items of a second training dataset of training data items against each of the plurality of micro-models to produce a score for the at least one tested data item; and generating at least one output dataset based on the score for the at least one tested data item. In some embodiments, the methods include removing at least one data item of the plurality of data items from the input training dataset and generating a sanitized anomaly detection model based on the at least one output dataset. In some embodiments, the methods include testing, an input dataset using the sanitized anomaly detection model to determine if the input dataset includes anomalies.

In some embodiments, computer-readable media containing computer-executable instructions that, when executed by a processor, cause the processor to perform methods for generating sanitized data are provided. The methods including: dividing a first training dataset comprised of a plurality of training, data items into a plurality of data subsets each including at least one training data item of the plurality of training data items of the first training dataset; based on the plurality of data subsets, generating a plurality of distinct anomaly detection micro-models; testing at least one data item of the plurality of data items of a second training dataset of training data items against each of the plurality of micro-models to produce a score for the at least one tested data item; and generating at least one output dataset based on the score for the at least one tested data item.

In some embodiments, systems for generating sanitized data including an interface in communication with a network; a memory; and a processor in communication with the memory and the interface are provided, wherein the processor: divides a first training dataset comprised of a plurality of training data items into a plurality of data subsets each including at least one training data item of the plurality of training data items of the first training dataset; based on the plurality of data subsets, generates a plurality of distinct anomaly detection micro-models; tests at least one data item of the plurality of data items of a second training dataset of training data items against each of the plurality of micro-models to produce a score for the at least one tested data item; and generates at least one output dataset based on the score for the at least one tested data item.

In some embodiments methods for sanitizing anomaly detection models are provided. The methods including receiving at least one abnormal anomaly detection model from at least one remote location; comparing at least one of the at least one abnormal anomaly detection model to a local normal detection model to produce a common set of features common to both the at least one abnormal anomaly detection model and the local normal detection model; and generating a sanitized normal anomaly detection model by removing the common set of features from the local normal detection model.

In some embodiments, computer-readable media containing computer-executable instructions that, when executed by a processor, cause the processor to perform methods for sanitizing anomaly detection models are provided. The methods including receiving at least one abnormal anomaly detection model from at least one remote location; comparing at least one of the at least one abnormal anomaly detection model to a local normal detection model to produce a common set of features common to both the at least one abnormal anomaly detection model and the local normal detection model; and generating a sanitized normal anomaly detection model by removing the common set of features from the local normal detection model.

In some embodiments, methods for sanitizing anomaly detection models are provided. The methods including: receiving at least one abnormal anomaly detection model from at least one remote location; testing at least one data item of a training dataset of data items against at least one of the at least one abnormal anomaly detection model to provide an indication that the at least one data item is abnormal; and creating a sanitized training dataset of data items based on the indication that the at least one data item is abnormal.

In some embodiments, computer-readable media containing computer-executable instructions that, when executed by a processor, cause the processor to perform methods for sanitizing anomaly detection models are provided. The methods including: receiving at least one abnormal anomaly detection model from at least one remote location; testing at least one data item of a training dataset of data items against at least one of the at least one abnormal anomaly detection model to provide an indication that the at least one data item is abnormal; and creating a sanitized training dataset of data items based on the indication that the at least one data item is abnormal.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is simple illustration of a method for generating at least one of a sanitized anomaly detection model and an abnormal anomaly detection model in accordance with some embodiments of the disclosed subject matter.

FIG. 2 is a simple illustration of a method for sanitizing a local anomaly detection model using remote anomaly detection models in accordance with some embodiments of the disclosed subject matter.

FIG. 3 is a simple illustration of a method for sanitizing a local training data set using remote anomaly detection models and generating at least one of a sanitized anomaly detection model and an abnormal anomaly detection model in accordance with some embodiments of the disclosed subject matter.

FIG. 4 is a schematic diagram of a system suitable for sanitizing, generating, and/or sharing data sets and/or anomaly detection models in accordance with some embodiments of the disclosed subject matter.

FIG. 5 is an illustration of nodes that can be used in FIG. 1 in accordance with some embodiments of the disclosed subject matter.

FIG. 6 is a simplified illustration of a method for generating a content anomaly detection model and detecting content anomalies in accordance with some embodiments of the disclosed subject matter.

FIG. 7 is a simplified illustration of a method for generating, training, and sharing a binary-based content anomaly detection model and for using the content anomaly model to detect content anomalies in accordance with some embodiments of the disclosed subject matter.

DETAILED DESCRIPTION

In some embodiments, systems, methods, and media for generating sanitized data, sanitizing anomaly detection models, and generating anomaly detection models are provided. For example, FIG. 1 illustrates a method for generating a model 170 from a set of training data 110. Training data 110 can be divided, at 120, into subsets 125. Subsets 125 can be used to generate, at 130, micro-models 135. In some embodiments, each training data subset 126 of training data subsets 125 can be used to generate a corresponding micro-model 136 of micro-models 135. Micro-models 135 can be sanitized, at 140, to generate sanitized data 150, by, for example, removing and/or ignoring information related to abnormal data-items that may be present in the training data 110 and training data subsets 125. Sanitizing, at 140, can include, testing the data items of training data 110 and/or other data items 146 against the micro-models 135. Which test-data to use in sanitizing, at 150, can be determined, at 145, and can be based on, for example, whether training data 110 and/or training data subsets 125 are available for sanitizing, at 140. Sanitized data 150 can be used to generate, at 160, a sanitized model, 170. In some embodiments, the data items that were removed and/or ignored, at 140, can be used to generate a data set of removed data items 180. Data set 180 can be used to generate, at 190, a model 195. In some embodiments, model 170 and/or model 195 can be used to detect anomalies. In some embodiments, model 170 can be a model of normal sanitized data and model 195 can be a model of abnormal data.

Training data 110 can include a plurality of training data items, such as, for example, packets, instruction streams, streams of function calls, portions of applications, embedded objects, etc. Training data 110 can also include, for example, a static file of previously collected data and/or a stream of data currently being monitored, at, for example, a network interface, and possibly being saved for future testing and/or analysis. In some embodiments, a training data 110 (T) can be divided into a number of smaller subsets ss₁-ss_(n). This can be represented as T={ss₁, ss₂ . . . ss_(n)} where ss_(i) is the subset starting at time (i−1)*g, where g is the granularity for each subset. The granularity of T can be defined in terms of, for example, a number of bytes, a number of instructions, a number of function calls, and/or a time period. Various values can be used for T. For example, in some embodiments, each subset 125 can be defined in terms of time with a granularity ranging from 3 to 5 hours and training data 110 can include data items monitored over 500 hours. Anomaly detection micro-models 135 (M), can be generated from a training dataset 110 T, Which can be represented as M=AD(T), where AD can include various anomaly detection systems and/or methods. In some embodiments, training data subsets 125 can include all of training data 110 and in other embodiments, subsets 125 can include only a portion of training data 110 (e.g. selected randomly, selected manually, and/or selected based on data type).

Micro-models 135 can be sanitized, at 140, using the training data 110 and/or a second set of training data 146 (e.g., a stream of packets being observed on a network interface after training, at 125, is complete). Sanitizing, at 150, can generate a labeled data set with each training dataset item labeled as, for example, normal or abnormal. For example, labels, L_(j,i) can be assigned based on a test of a training data item j against a micro-model M_(i), i.e., L_(j,i)=TEST(P_(j),M_(i)), where the label L_(j,i) is assigned a value of 0 if the model M_(i) deems the data item normal or 1 of the model M_(i) deems it abnormal.

The labels can be generalized by, for example processing a labeled dataset through a voting scheme, which assigns a score to each data item. The scores can represent, for example, various weight that data items are given in considering their contribution toward indicating normal or abnormal behavior. Such a score can be calculated as, for example:

${{SCORE}\left( P_{j} \right)} = {\frac{1}{W}{\sum\limits_{i = 1}^{N}\; {w_{i} \cdot {L_{j,i}.}}}}$

where w_(i) is a weight assigned to model M_(i) and W=Σ^(N) _(l=1)w_(j). Various voting strategies are possible for example all micro-models can be weighted identically or each micro-model can have an assigned weight, w_(i), based on, for example, the number of data items used to train it and/or the type of data items in each micro-model.

In some cases, micro-models 135 may contain attack-related content. If an abnormal data item related to attack-related content is classified using such a micro-model, or a model including such a micro-model, the abnormal data item may be classified as normal despite being abnormal. In some embodiments, such attack-related content can be removed from the micro-model 135. For example, data items can be removed from the training dataset based on their score. In some embodiments, a set of normal data items, T_(san) 150 and a set of abnormal data items T_(abn), can be created and used to generate a sanitized model M_(san) and an abnormal model M_(abn), using for example, the following equations:

T _(san) =∪{P _(j)|SCORE(P _(j))≦V}, M _(san) =AD(T _(san));

and

T _(abn) =∪{P _(j)|SCORE(P _(j))>V}, M _(abn) =AD(T _(san))

where V is a voting threshold. In embodiments where voting is unweighted, V can be the maximum percentage of abnormal labels permitted such that a data item is labeled normal. V can be set to various values between 0 and 1, for example, V may be set to a value between 0.15 and 0.45. Sanitized data items 150 can be used, for example, to generate, at 160, a sanitized anomaly detection model 170. A user and/or system administrator can set V based on, for example, the training set or sets being used, the type of anomaly detection model being used, the granularity, and/or the type of data monitored. V can be chosen to achieve an appropriate balance between detection and false positive rates. For example, V may be chosen to achieve a high detection rate and a low false positive rate. The selection of a value for V can also depend on various values selected in the particular anomaly detection system being used, for example, to generate each micro-model at model 135 and/or to generate a model at 160 and/or 190. For example, some anomaly detection systems have a threshold value which can be set to provide a dividing line between normal behavior and abnormal behavior. In selecting a value for V, a threshold value can be considered and in selecting a threshold value, the value of V can be considered.

In some embodiments, systems, methods, and media for sanitizing anomaly detection models by collaborating with various digital processing devices are provided. Various digital processing devices can share various abnormal, normal, and/or sanitized models and compare models to update at least one a local abnormal, normal, and/or sanitized model. In various embodiments, normal models, abnormal models, and/or sanitized models can be separate models (e.g., stored as separate data structures). In various embodiments, normal models, abnormal models, and/or sanitized models can be stored together as one model (e.g., with various portions identified as abnormal or normal). For example, FIG. 2 illustrates a method for sanitizing a local normal anomaly detection model 200 based on remote abnormal anomaly detection models 220 to generate a local sanitized normal anomaly detection model 250. In some embodiments, anomaly detection model 200 can include, for example, anomaly detection model 170 and/or models 220 can include model 195. Model 200 can be compared, at 210, to one or more of models 220 to produce a common set of features 230 common to both model 200 and at least one of models 220. Model 200 can be processed, at 240, to generate a sanitized model 250, that, for example, does not contain content contained in both model 200 and any of models 220. In some embodiments, model 250 can be represented in equation form as: Model 250=Model 200−∪{Models 220∩Model200}. In some embodiments, a new and/or updated abnormal model 260 can be generated. This model can include, for example, a model of abnormal behavior including models 220 and/or common features 230. Model 250 can also be combined with, for example, a local model of abnormal behavior, such as model 270.

In some embodiments, as local model 200 and remote models 220 may not be directly comparable. For example, model 200 may have been generated using a first anomaly detection model generating method and some of models 220 may have been generated using a second anomaly detection model generating method which generates a different type of model than the first method. In sonic embodiments, a local training data set can be tested against various remote models. Based on this testing, a new local model or models can be generated. The local training data set as well as the remote models can be various combinations of normal models and abnormal models. For example, FIG. 3 illustrates a method for sanitizing a local normal training data set 300 based on remote abnormal detection models 320 to generate a local normal sanitized anomaly detection model 360 and a local abnormal anomaly detection model 370. Data set 300 can be tested, at 330, against remote models 320. If a remote model of the models 320 indicates a hit on a data item (in this case, if a model 320 indicates a data item is anomalous), it can be added to anomalous data set 340. If a remote model of the models 320 does not indicate a hit on a data item (in this case, if a model 320 indicates a data item is normal), it can be added to normal data set 350. Models 360 and 370 can be generated, at 355 and 345, based on their corresponding dataset of datasets 350 or 340.

FIG. 4 is a schematic diagram of an illustrative system 400 that can be used for generating sanitized data, sanitizing anomaly detection models, and/or generating anomaly detection models in accordance with some embodiments of the disclosed subject matter. As illustrated, system 400 can include one or more clients 402. Clients 402 can be connected by one or more communications links 404 to a communications network 406 or connected directly to each other. Communications network 406 can also be linked through a communications link 408 to a server 410. Various embodiments of the disclosed subject matter can be implemented on at least one of the server and the clients. It is also possible that a client and a server can be connected through communication links 408 or 404 directly and not through a communication network 406.

In system 400, server 410 can be any suitable server or digital processing device for executing an application, such as, for example, a processor, a computer, a data processing device, or a combination of such devices. Communications network 406 can be various networks including the Internet, an intranet, a wide-area network (WAN), a local-area network (LAN), a wireless network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN), a mobile ad-hoc network (MANET), etc. or any combination of any of the same. Communications links 404 and 408 can be any communications links suitable for communicating data between clients 402 and server 410, such as network links, dial-up links, wireless links, hard-wired links, etc. Clients 402 can be any suitable digital processing devices, such as, for example, personal computers, laptop computers, mainframe computers, data displays, Internet browsers, personal digital assistants (PDAs), two-way pagers, wireless terminals, portable telephones, etc., or any combination of the same. In some embodiments, clients 402 and server 410 can be located within an organization. Alternatively, clients 402 and server 410 can be distributed, between multiple organizations.

The server 410 and one of the clients 402, which are depicted in FIG. 4, are illustrated in more detail in FIG. 5. Referring to FIG. 5, client 402 and server 410 can include respectively, among other things, processors 502 and 520, displays 504 and 522, input/output devices 506 and 524, and memory 508 and 526, which can be interconnected. The input/output devices can receive input and send output such as, for example, text from keyboard, images from a camera, images from a scanner, audio recordings, voice-to-text translations, network traffic, packets, anomaly detection models, and/or training datasets, etc. In some embodiments, memory 508 and 526 contain a storage device for storing a program for controlling processors 502 and 520 and/or performing methods such as those illustrated in FIGS. 1-3. Variations and combinations of system 500 might be suitable for different embodiments of the disclosed subject matter. In addition, although some embodiments are described herein as being implemented on a client and/or a server, this is only illustrative. Various components of some embodiments of the disclosed subject matter can be implemented on an suitable platform.

The systems, methods, and media of the disclosed subject matter can be used in accordance with various anomaly detection systems and methods. For example, FIG. 6 is a simplified illustration of a method for generating an anomaly detection model and detecting content anomalies. As shown, at 602, a content anomaly detection model can be generated and trained. At 304, the content anomaly detection model can be used to detect anomalies. Various embodiments of the method of FIG. 6 are described in, for example international Application No. PCT/US2007/005408, which is hereby incorporated by reference herein in its entirety.

Also, for example, FIG. 7 is a simplified illustration of methods for generating, training, and sharing a binary-based content anomaly model and for using the content anomaly model to detect content anomalies. As shown, at 702, a binary-based content anomaly detection model is generated and trained. At 704, the binary-based content anomaly detection is shared. A shared model can be received from one or more remote sites to compare with and update a local model. At 706, the binary based content anomaly detection model is used to detect content anomalies. For example, an anomaly score of an input dataset can be used to determine whether the input dataset is anomalous. Various embodiments of the method of FIG. 7 are described in, for example International Application No. PCT/US2007/005406, which is hereby incorporated by reference herein in its entirety. Other examples of systems and methods that can be used to detect anomalies and/or generate anomaly detection models, are described in, for example, International Application No. PCT/US2004/037654, International Application No. PCT/US2007/83003, and U.S. patent application Ser. No. 10/986,447, each of which is hereby incorporated by reference herein in its entirety.

In some embodiments, if a remote model indicates that a local training data item is abnormal and/or a local normal model contains abnormal content, further testing can be performed. For example, returning to FIGS. 1-3, in some embodiments, if a data item, series of data items, and/or or portion of a model is found to be abnormal at, for example, 140, 210 and/or 330, further evaluation can be perforated. The further evaluation can include, for example, execution and/or processing of data items executed in a protected environment that can monitor and detect for abnormal behavior. If the execution in the protected environment determines that the data item or items are not abnormal, or are otherwise acceptable, then the indication of anomaly from remote models can be ignored. For example, instead of adding a data item determined to be abnormal, at 300, to abnormal data items 340, the data item, and possibly related data items (e.g., an entire function or other section of code associated with the data item), can be sent for additional testing in a protected environment. If this processing determines the data item is normal, it can be added to normal data items 350. Various systems and/or methods can be used to perform this additional testing, for example, the systems and/or methods of U.S. patent application Ser. No. 11/870,043, International Application No PCT/US2007/83003, and/or International Application No PCT/US2007/78773, each of which is hereby incorporated by reference herein in its entirety.

Although the invention has been described and illustrated in the foregoing illustrative embodiments, it is understood that the present disclosure has been made only by way of example, and that numerous changes in the details of implementation of the invention can be made without departing from the spirit and scope of the invention, which is limited only by the claims that follow. Features of the disclosed embodiments can be combined and rearranged in various ways within the scope and spirit of the invention. 

What is claimed is:
 1. A method for sanitizing anomaly detection models, the method comprising: receiving at least one abnormal anomaly detection model from at least one remote location; comparing at least one of the at least one abnormal anomaly detection model to a local normal detection model to produce a common set of features common to both the at least one abnormal anomaly detection model and the local normal detection model; and generating a sanitized normal anomaly detection model by removing the common set of features from the local normal detection model.
 2. The method of claim 1, further comprising generating a local abnormal anomaly detection model based on the common set of features.
 3. The method of claim 1, further comprising updating the at least one abnormal anomaly detection model with the common set of features.
 4. The method of claim 1, wherein the at least one abnormal anomaly detection model and the local normal detection model are shared between remote devices.
 5. The method of claim 1, wherein the at least one abnormal anomaly detection model and the local normal detection model are combined to form a detection model, wherein a first portion of the detection model is identified as abnormal based on the at least one abnormal anomaly detection model, and wherein a second portion of the detection model is identified as normal based on the local normal detection model.
 6. The method of claim 1, further comprising testing an input dataset using the sanitized normal anomaly detection model to determine if the input dataset includes anomalies.
 7. The method of claim 1, further comprising: testing at least one data item of a training dataset of data items against the at least one abnormal anomaly detection model to provide an indication that the at least one data item is abnormal; and creating a sanitized training dataset of data items based on the indication that the at least one data item is abnormal.
 8. The method of claim 7, further comprising generating a sanitized anomaly detection model based on the sanitized training dataset.
 9. The method of claim 7, further comprising creating an abnormal training dataset of data items based on the indication that the at least one data item is abnormal.
 10. The method of claim 9, further comprising generating an abnormal anomaly detection model based on the anomalous training dataset.
 11. A system for sanitizing anomaly detection models, the system comprising: an interface in communication with a network; a memory; and a processor in communication with the memory and the interface; wherein the processor: receives at least one abnormal anomaly detection model from at least one remote location; compares at least one of the at least one abnormal anomaly detection model to a local normal detection model to produce a common set of features common to both the at least one abnormal anomaly detection model and the local normal detection model; and generates a sanitized normal anomaly detection model by removing the common set of features from the local normal detection model.
 12. The system of claim 11, wherein the processor is further configured to generate a local abnormal anomaly detection model based on the common set of features.
 13. The system of claim 11, wherein the processor is further configured to update the at least one abnormal anomaly detection model with the common set of features.
 14. The system of claim 11, wherein the at least one abnormal anomaly detection model and the local normal detection model are shared between remote devices.
 15. The system of claim 11, wherein the at least one abnormal anomaly detection model and the local normal detection model are combined to form a detection model, wherein a first portion of the detection model is identified as abnormal based on the at least one abnormal anomaly detection model, and wherein a second portion of the detection model is identified as normal based on the local normal detection model.
 16. The system of claim 11, wherein the processor is further configured to test an input dataset using the sanitized normal anomaly detection model to determine if the input dataset includes anomalies.
 17. The system of claim 11, wherein the processor is further configured to: test at least one data item of a training dataset of data items against the at least one abnormal anomaly detection model to provide an indication that the at least one data item is abnormal; and create a sanitized training dataset of data items based on the indication that the at least one data item is abnormal.
 18. The system of claim 17, wherein the processor is further configured to generate a sanitized anomaly detection model based on the sanitized training dataset.
 19. The system of claim 17, wherein the processor is further configured to create an abnormal training dataset of data items based on the indication that the at least one data item is abnormal.
 20. The system of claim 19, wherein the processor is further configured to generate an abnormal anomaly detection model based on the anomalous training dataset.
 21. A computer-readable medium containing computer-executable instructions that, when executed by a processor, cause the processor to perform a method for sanitizing anomaly detection models, the method comprising: receiving at least one abnormal anomaly detection model from at least one remote location; comparing at least one of the at least one abnormal anomaly detection model to a local normal detection model to produce a common set of features common to both the at least one abnormal anomaly detection model and the local normal detection model; and generating a sanitized normal anomaly detection model by removing the common set of features from the local normal detection model. 